﻿using AutoMapper.Execution;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore.CustomerTable
{
    /// <summary>
    /// 客户表
    /// </summary>
   public class Customer : FullAuditedAggregateRoot<int>
    {
        /// <summary>
        /// 客户信息
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 身份等级
        /// </summary>
        public string StatusLevel {  get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public int CardNumber {  get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string CustomerPhone {  get; set; }
        /// <summary>
        /// 可用余额
        /// </summary>
        public decimal RemainingBalance {  get; set; }
        /// <summary>
        /// 可用积分
        /// </summary>
        public int PointsAvailable {  get; set; }
        /// <summary>
        /// 累计消费金额
        /// </summary>
        public decimal AccumulatedSpending {  get; set; }
        /// <summary>
        /// 累计消费次数
        /// </summary>
        public int CumulativeNumber {  get; set; }
        /// <summary>
        /// 累计退款金额
        /// </summary>
        public decimal CumulativeRefund {  get; set; }
        /// <summary>
        /// 累计维权次数
        /// </summary>
        public int CumulativeProtection {  get; set; }
    }
}
